*,
*:before,
*:after{
    margin:0;
    padding:0;
    box-sizing:border-box
}
body{
    height:100%;
    background:linear-gradient() ;
    background-position: 135deg;
    background-color:  #d161ff; 
}

.container{
    width:40%;
    min-width:450px;
    position:absolute;
    transform:translate(-50%,-50%);
    top:50%;
    left:50%;
    padding: 30px 40px;  
}
#newtask{
    position: relative;
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 5px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
#newtask input{
    width:70%;
    height:45px;
    font-family:'poppins',sans-serif;
    font-size: 15px;
    border: 2px solid rgb(40, 67, 143);
    padding: 12px;
    color:#111111;
    font-weight:500;
    position: relative;
}
#newtask input:focus{
    outline: none;
    border-color: #8052ec;
}
#newtask button{
    position: relative;
    float:right;
    width:20%;
    height:45px;
    font-family:'poppins',sans-serif;
    font-weight:500;
    font-size:16px;
    background-color:rgb(45, 43, 180);
    border:none;
    color:white;
    cursor:pointer;

}
 #tasks{
     background-color:white;
     padding:30px 20px;
     border-radius:10px;
     margin-top: 60px;
     box-shadow:0 15px 30px rgba(0,0,0,0.3);
     width:100%;
     position: relative;
 }

 .task{
     background-color: white;
     height:50px;
     padding:5px 10px;
     margin-top:10px;
     display:flex;
     align-items: center;
     justify-content: space-between;
     border-bottom: 2px solid #d1d3d4;
     cursor:pointer;
 }

 .task span{
     font-family: 'poppins,sans-serif';
     font-size:15px;
     font-weight:400;
    }

 .task-button{
     background-color: #8052ec;
     color:#ffffff;
     height:100%;
     width:40px;
     border-radius:5px;
     border:none;
     cursor:pointer;
     outline:none;
 }  
 
 .completed{
     text-decoration: line-through;
 }